package stud.mpgame.server.map;

public class MapData {
	
	private SizeData size;
	private int[] model;
	
	public MapData() {
	}
	
	public int getWidth() {
		return size.getWidth();
	}
	
	public int getHeight() {
		return size.getHeight();
	}
	
	public int[] getModel() {
		return model;
	}
	
	public String toString() {
		String result = "size: " + size + "\nmodel: ";
		for(int i = 0; i < model.length; ++i)
			result += model[i] + " ";
		return result;
	}
}

class SizeData {
	
	private int width;
	private int height;
	
	public SizeData() {}
	
	public int getHeight() {
		return height;
	}
	
	public int getWidth() {
		return width;
	}
	
	public String toString() {
		return width + ";" + height;
	}
}
